Automatic sequence

An automatic sequence (or k-automatic sequence) is an infinite sequence of terms characterized by a finite automaton. The n-th term of the sequence is a mapping of the final state of the automaton when its input is the digits of n in some fixed base k.[1] A k-automatic set is a set of non-negative integers for which the sequence of values of its characteristic function is an automatic sequence: that is, membership of n in the set can be determined by a finite state automaton on the digits of n in base k.[2]

Contents

Automaton point of view

Let q be an integer, and A = (E, φ, e) be a deterministic automaton where

also let A be a finite set, and π:EA a projection towards A.

For each n, take m(n) = π(φ(e,n')) where n' is n written in base q. Then the sequence m = m(1)m(2)m(3)... is called a q-automatic sequence.[1]

Substitution point of view

Let σ be a morphism of the free monoid E* with \sigma(E)\subseteq E^q, and e\in E such that σ(e) begins by e. Let also be A and π as before. Then if m' is a fixpoint of σ, that is to say m' = σ(m'), then m = π(m') is a q-automatic sequence over A.[3]

1-automatic sequences

k-automatic sequences are normally only defined for k ≥ 2.[1] The concept can be extended to k = 1 by defining a 1-automatic sequence to be a sequence whose n-th term depends on the unary notation for n, that is (1)n. Since a finite state automaton must eventually return to a previously visited state, all 1-automatic sequences are eventually periodic.

Properties

For given k and r, a set is k-automatic if and only if it is kr-automatic. Otherwise, if h and k are multiplicatively independent, then a set is both h-automatic and k-automatic if and only if it is 1-automatic, that is, ultimately periodic.[4]

Examples

The following sequences are automatic:

Automatic real number

An automatic real number is a real number for which the base-b expansion is an automatic sequence.[5] All such numbers are either rational or transcendental.[6]

References

  1. ^ a b c d Allouche & Shallit (2003) p.152
  2. ^ Allouche & Shallit (2003) p.168
  3. ^ Allouche & Shallit (2003) p.175
  4. ^ Allouche & Shallit (2003) pp.345-350
  5. ^ Hejhal (1999) p.556
  6. ^ B. Adamczewski and Y. Bugeaud, "On the complexity of algebraic numbers. I. Expansions in integer bases", Ann. of Math. 165:2 (2007), pp. 547–565.